package io.bdmc.modules.bss.service.impl;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import io.bdmc.common.annotation.DataFilter;
import io.bdmc.common.utils.MyPage;
import io.bdmc.modules.bss.entity.SmkMaint;
import io.bdmc.modules.bss.mapper.SmkMaintMapper;
import io.bdmc.modules.bss.model.LabelValue;
import io.bdmc.modules.bss.model.MaintParam;
import io.bdmc.modules.bss.service.ISmkMaintService;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author huanglu
 * @since 2019-01-23
 */
@Service
public class SmkMaintServiceImpl extends ServiceImpl<SmkMaintMapper, SmkMaint> implements ISmkMaintService {
    @Autowired
    private SmkMaintMapper maintMapper;

    @DataFilter(tableAlias = "d", user = false)
    @Override
    public MyPage<SmkMaint> mySelectPage(MyPage<SmkMaint> page, MaintParam param) {
        return maintMapper.mySelectPage(page, param);
    }

    @Override
    public List<LabelValue> mySelectCombo(MyPage<SmkMaint> myPage) {
        return maintMapper.mySelectCombo(myPage);
    }
}
